<form action="{:U('Common/addCommon')}" method="post" class="form-horizontal">
    <div class="form-item">
        <label class="item-label">货号</label>
            <input type="text" class="text input-large" name="gno" value="{$data.gno|default=''}">
    </div>
    <div class="form-item">
        <label class="item-label">品牌</label>
        <div class="controls">
            <input type="text" class="text input-large" name="brand_name" value="{$data.brand_name|default='Kaieers/科而士'}">
        </div>
    </div>
    <div class="form-item">
        <label class="item-label">款式</label>
        <div class="controls">
            <select name="style">
                <option value="休闲皮鞋" <if condition="'休闲皮鞋' eq $data['style']">selected="selected"</if>>休闲皮鞋</option>          
                <option value="商务休闲鞋" <if condition="'商务休闲鞋' eq $data['style']">selected="selected"</if>>商务休闲鞋</option>  
                <option value="运动休闲" <if condition="'运动休闲' eq $data['style']">selected="selected"</if>>运动休闲</option>  
                <option value="镂空皮鞋" <if condition="'镂空皮鞋' eq $data['style']">selected="selected"</if>>镂空皮鞋</option>  
                <option value="豆豆鞋" <if condition="'豆豆鞋' eq $data['style']">selected="selected"</if>>豆豆鞋</option>  
                <option value="布洛克" <if condition="'布洛克' eq $data['style']">selected="selected"</if>>布洛克</option>  
            </select>    
        </div>
    </div>
    <div class="form-item">
        <label class="item-label">颜色</label>
        <div class="controls">
            <input type="text" class="text input-large" name="color" value="{$data.color|default=''}">
        </div>
    </div>
    <div class="form-item">
        <label class="item-label">上架时间</label>
        <div class="controls">
            <input type="text" class="text input-large" name="sj_time" value="{$data.sj_time|default=''}">
        </div>
    </div>
    <div class="form-item">
        <label class="item-label">上市年份</label>
        <div class="controls">
            <select name="ss_year">
                <option value="2012春季" <if condition="'2012春季' eq $data['ss_year']">selected="selected"</if>>2012春季</option>          
                <option value="2012夏季" <if condition="'2012夏季' eq $data['ss_year']">selected="selected"</if>>2012夏季</option>  
                <option value="2012秋季" <if condition="'2012秋季' eq $data['ss_year']">selected="selected"</if>>2012秋季</option>  
                <option value="2012冬季" <if condition="'2012冬季' eq $data['ss_year']">selected="selected"</if>>2012冬季</option>  
                <option value="2103春季" <if condition="'2103春季' eq $data['ss_year']">selected="selected"</if>>2103春季</option>  
                <option value="2015冬季" <if condition="'2015冬季' eq $data['ss_year']">selected="selected"</if>>2015冬季</option>  
            </select>    
        </div>
    </div>
    <div class="form-item">
        <label class="item-label">鞋码偏差</label>
        <div class="controls">
            <input type="text" class="text input-large" name="piancha" value="{$data.piancha|default=''}">
        </div>
    </div>
    <div class="form-item">
        <label class="item-label">鞋底</label>
        <div class="controls">
            <input type="text" class="text input-large" name="xd_cz" value="{$data.xd_cz|default=''}">
        </div>
    </div>
    <div class="form-item">
        <label class="item-label">鞋面</label>
        <div class="controls">
            <input type="text" class="text input-large" name="xm_cz" value="{$data.xm_cz|default=''}">
        </div>
    </div>
    <div class="form-item">
        <label class="item-label">闭合方式</label>
        <div class="controls">
            <input type="text" class="text input-large" name="bihe" value="{$data.bihe|default=''}">
        </div>
    </div>
    <div class="form-item">
        <label class="item-label">里皮</label>
        <div class="controls">
            <input type="text" class="text input-large" name="jijie" value="{$data.jijie|default=''}">
        </div>
    </div>
    <div class="form-item">
        <label class="item-label">鞋垫</label>
        <div class="controls">
            <input type="text" class="text input-large" name="sex" value="{$data.sex|default=''}">
        </div>
    </div>
    <div class="form-item">
        <label class="item-label">皮鞋风格</label>
        <div class="controls">
            <input type="text" class="text input-large" name="xm_cl" value="{$data.xm_cl|default=''}">
        </div>
    </div>
    <div class="form-item">
        <label class="item-label">鞋跟高度</label>
        <div class="controls">
            <input type="text" class="text input-large" name="wd_cl" value="{$data.wd_cl|default=''}">
        </div>
    </div>
    
    <div class="form-item">
        <input type="hidden" name="table" value="goods_introduce">
        <input type="hidden" name="methods" value="current">
        <input type="hidden" name="gid" value="{$id|default=0}">
        <input type="hidden" name="fields" value="gno,text;brand_name,text;style,text;color,text;sj_time,text;ss_year,text;piancha,text;xd_cz,text;xm_cz,text;bihe,text;jijie,text;sex,text;xm_cl,text;wd_cl,text;gid,text">
        <input type="hidden" name="id" value="{$data.id|default=0}">
        <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
        <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
    </div>
</form>

